From e57d79c9e2eabc1ed18dc25593bee21a509dbc62 Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Tue, 26 Jun 2012 17:00:20 +0100 Subject: [PATCH] libxl: fix a typo in the GCREALLOC_ARRAY macro Causing a build failure when trying to use it: xxx: error: expected ';' before ')' token xxx: error: expected statement before ')' token Signed-off-by: Dario Faggioli Committed-by: Ian Campbell --- tools/libxl/libxl_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index fa4c08ff87..31390e35c6 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -1972,7 +1972,7 @@ struct libxl__domain_create_state { #define GCREALLOC_ARRAY(var, nmemb) \ (assert(nmemb > 0), \ assert(ARRAY_SIZE_OK((var), (nmemb))), \ - (var) = libxl__realloc((gc), (var), (nmemb)*sizeof(*(var))))) + (var) = libxl__realloc((gc), (var), (nmemb)*sizeof(*(var)))) /* -- 2.30.2